package com.regentsoft.cloudback.operateAdmin.entity;

import com.regentsoft.cloudback.base.BaseEntity;
/**
 * 
 * @author czd
 *
 * @date 2017年11月29日
 *
 * @version 1.0
 */
public class ActivationCode extends BaseEntity {
 
	private static final long serialVersionUID = 1L;

	/**
     * @备注:     
     * @字段:ac_id varchar(36)  
     */	
	private java.lang.String acId;

	/**
     * @备注:激活码     
     * @字段:code varchar(20)  
     */	
	private java.lang.String code;

	/**
     * @备注:编号     
     * @字段:number varchar(20)  
     */	
	private java.lang.Integer number;

	/**
     * @备注:0未激活，1激活，2取消激活     
     * @字段:status int(10)  
     */	
	private java.lang.Integer status;

	/**
     * @备注:激活时间     
     * @字段:active_time datetime(0)  
     */	
	private java.util.Date activeTime;
	
	/**
     * @备注:机器码主键     
     * @字段:pda_id varchar(36)  
     */	
	private java.lang.String pdaId;

	/**
     * @备注:机器码     
     * @字段:pda_code varchar(36)  
     */	
	private java.lang.String pdaCode;

	/**
     * @备注:创建时间     
     * @字段:create_time datetime(0)  
     */	
	private java.util.Date createTime;

	/**
     * @备注:创建人-对应运营管理人员名称     
     * @字段:creator varchar(20)  
     */	
	private java.lang.String creator;
	/**
     * @备注:版本号 基于mysql乐观锁，解决并发访问
     * @字段:creator varchar(11)  
     */	
	private java.lang.Integer version;
	public ActivationCode(){
	}

	public ActivationCode(
		java.lang.String acId,
		java.lang.String code,
		java.lang.Integer number
	){
		this.acId = acId;
		this.code = code;
		this.number = number;
	}

	public void setAcId(java.lang.String acId) {
		this.acId = acId;
	}
	 
	public java.lang.String getAcId() {
		return this.acId;
	}
	public void setCode(java.lang.String code) {
		this.code = code;
	}
	 
	public java.lang.String getCode() {
		return this.code;
	}
	
	public java.lang.Integer getNumber() {
		return number;
	}

	public void setNumber(java.lang.Integer number) {
		this.number = number;
	}

	public void setStatus(java.lang.Integer status) {
		this.status = status;
	}
	 
	public java.lang.Integer getStatus() {
		return this.status;
	}
	public void setActiveTime(java.util.Date activeTime) {
		this.activeTime = activeTime;
	}
	 
	public java.util.Date getActiveTime() {
		return this.activeTime;
	}
	 
	public void setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
	}
	 
	public java.util.Date getCreateTime() {
		return this.createTime;
	}
	 
	public void setCreator(java.lang.String creator) {
		this.creator = creator;
	}
	 
	public java.lang.String getCreator() {
		return this.creator;
	}

	public java.lang.String getPdaId() {
		return pdaId;
	}

	public void setPdaId(java.lang.String pdaId) {
		this.pdaId = pdaId;
	}

	public java.lang.String getPdaCode() {
		return pdaCode;
	}

	public void setPdaCode(java.lang.String pdaCode) {
		this.pdaCode = pdaCode;
	}

	public java.lang.Integer getVersion() {
		return version;
	}

	public void setVersion(java.lang.Integer version) {
		this.version = version;
	}
	
}
